package com.cp.service;

import com.cp.repository.ClassRelation;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

@CacheConfig(cacheNames = "classRelationCache")
public interface ClassRelationService {

	@Cacheable
	List<ClassRelation> getAll();
}
